<?php


include_once "../../../../lib/import.php";

$window = new WBResizableWindow(array(
	'title' => 'Default Tree View',
	'width' => 300,
	'height' => 300,
	'layout' => 'full'
));

$tree = $window->add(array(
	'wbtype' => 'TreeView',
));

$tree->createRoot(array('caption' => 'test', 'value' => 0));

$window->visible = true;
wbstart();

?>